package cn.reyuxi.emptyview

import android.view.View
import androidx.recyclerview.widget.RecyclerView
import cn.reyuxi.simple.SimpleEmptyContentView
import cn.reyuxi.simple.SimpleEmptyView
import cn.reyuxi.simple.SimpleVisibilityHandler

abstract class MainePageVH(itemView: View) : RecyclerView.ViewHolder(itemView) {
    val emptyView: EmptyView by lazy {
        SimpleEmptyView.setup {
            SimpleEmptyView.Configure(
                emptyView = SimpleEmptyContentView(itemView.context),
                visibleHandler = SimpleVisibilityHandler()
            )
        }.done()
    }
}